<?php
foreach(glob('session/*') as $file)
{
	if(mt_rand(1,100)==1)
	{
		if(time()<filemtime($file)+1440)
		{
			unlink($file);
		}
	}
}